<?php if($has_subforums): ?>
			<div class="main">
				<div class="content">
					<div class="head">
					<h3>
					<?php echo smit_lang('forums.subforums'); ?>
					</h3>
					</div>
					<div class="forum-table">
						<?php $i=1; ?>
						<?php foreach($forums as $forum): ?>
						<div class="forum-row-c<?php echo $i;$i=($i == 1 ? 2 : 1); ?>">
							<div class="forum-icon">
							<?//=$forum_icon; ?><img src="<?php echo $vars['assets_url']; ?>icons/asterisk_orange.png" alt="" />
							</div>
							<div class="forum-information">
								<div class="forum-information-title">
									<?php echo smit_link(array('forum', 'view', 'id' => $forum['id']), $forum['title']); ?>
								</div>
								<div class="forum-information-stats">
								<?php if($forum['link'] == NULL): ?>
								<?php echo $forum['topic_count']; ?> <?php echo smit_lang('global.topics'); ?> &amp; <?php echo $forum['post_count']; ?> <?php echo smit_lang('global.posts'); ?>
									<?php else: ?>
									<?php echo $forum['hit_count']; ?> <?php echo smit_lang('global.hits'); ?>
									<?php endif; ?>
								</div>
								<div class="clearing"></div>
								<div class="forum-information-description"><?php echo $forum['description']; ?></div>
							</div>
							<div class="forum-information-updates">
							<?php if($forum['last_post_topic'] == NULL): ?>
							<?php echo smit_lang('global.lastpost', 'none'); ?>
							<?php else: ?>
							Last Post in <?php echo smit_link(array('forum', 'view', 'id' => $forum['last_post_id']), $forum['last_post_topic']); ?> By <a href="#" title="Topic title">Matix</a> On 11 September 2009
							<?php endif; ?>
							</div>
						</div>
<?php endforeach; ?>
					</div>
				</div>
			</div>
<?php endif; ?>
<?php if($parent > 0): ?>
			<ul class="f-tabs">
				<li><a href="#<?//=$post_topic_link; ?>">Create Topic</a></li>
				<li><a href="#">Search Forum</a></li>
				<li><a href="#">Sorting Options</a></li>
				<li><a href="#">Subscribe</a></li>
			</ul><div style="clear: both;"></div>
			<div class="main">
				<div class="content">
					<div class="head">
						<h3><?php echo $l_topics; ?></h3>
						<ul class="maintitle-controls-menu">
						<li>
							<a href="#" onclick="togglemenu('moderation');return false;" title="Test">Moderation</a>
							<ul class="menu" id="moderation">
								<li class="title">With Selected Topics</li>
								<li><a title="" href="#">Delete</a></li>
								<li><a title="" href="#">Lock</a></li>
								<li><a title="" href="#">Unapprove</a></li>
								<li class="title">Global Moderation</li>
								<li><a title="" href="#">One Click Mod</a></li>
							</ul>
						</li>
						</ul>
					</div>
					<?php $i=1; ?>
					<div class="forum-table">
			<?php foreach($topics as $topic): ?>
						<ul class="forum-row-c<?php echo $i;$i=($i == 1 ? 2 : 1); ?>">
							<li class="forum-icon"><?//=$topic->status_icon; ?><img src="<?php echo $vars->baseuri; ?>assets/icons/asterisk_orange.png" alt="" /></li>
							<li class="forum-information-table">
								<ul>
									<li class="forum-information-title"><?php echo $swixs->make_internal_link($topic->title, 'topic', array('id' => $topic->id)); ?></li>
									<li class="forum-information-stats"><?php echo $topics->replies; ?> Replies &amp; <?php echo $topic->views; ?> <?php echo $l_views; ?></li>
									<li class="clearing"></li>
									<li class="forum-information-description">Posted by Matix</li>
								</ul>
							</li>
							<!--<li class="forum-information-stats-table"><p><label>Replies</label> 4</p><p><label>Views</label> 6</p></li>-->
							<li class="clearing"></li>
							<li class="forum-information-updates">
							Last Post By <a href="#" title="Topic title">Matix</a> On 11 September 2009 &rarr;
							</li>
						</ul>
			<?php endforeach; ?>
					</div>
				</div>
			</div>
<?php endif; ?>